projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0feb2f3
)
(allout-unload-function): New function.
author
Juanma Barranquero
<lekktu@gmail.com>
Fri, 25 Jan 2008 15:11:18 +0000
(15:11 +0000)
committer
Juanma Barranquero
<lekktu@gmail.com>
Fri, 25 Jan 2008 15:11:18 +0000
(15:11 +0000)
lisp/allout.el
patch
|
blob
|
history
diff --git
a/lisp/allout.el
b/lisp/allout.el
index 43642e6ee26d927f612f02c3b4ab4b9a3c0b25e8..7782170e8346616fad505d638acee75397fa06f3 100644
(file)
--- a/
lisp/allout.el
+++ b/
lisp/allout.el
@@
-2120,6
+2120,16
@@
OPEN: A TOPIC that is not CLOSED, though its OFFSPRING or BODY may be."
;;;_ > allout-minor-mode
(defalias 'allout-minor-mode 'allout-mode)
+;;;_ > allout-unload-function
+(defun allout-unload-function ()
+ "Unload the allout outline library."
+ (save-current-buffer
+ (dolist (buffer (buffer-list))
+ (set-buffer buffer)
+ (when allout-mode (allout-mode -1))))
+ ;; continue standard unloading
+ nil)
+
;;;_ - Position Assessment
;;;_ > allout-hidden-p (&optional pos)
(defsubst allout-hidden-p (&optional pos)